home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
AMICUS
/
AMICUS25.ADF
/
8ColorWB
/
WBench8.DOC
< prev
next >
Wrap
Text File
|
1989-01-26
|
9KB
|
180 lines
********************************************************
* *
* The EIGHT color WorkBench Screen Modification *
* by David M. Pochron *
* *
********************************************************
Have you ever wanted more colors on the WorkBench screen? This
modification will let you have just that. By modifying the KickStart 1.2
disk it is possible to increase the # of bitplanes in a standard WorkBench
screen. Here is what you will need that is not included in this ARC file:
A kickstart 1.2 disk (sorry Amiga 500 & 2000 owners - maybe someday I'll
figure out how to get it to work with KS in ROM)
A disk sector editor (such as DiskX or DiskED)
Some items you MAY want to get the full potential of this mod:
A utility to convert Dpaint brushes to icons (Like ZapIcon) or an icon
editor that will edit 8-color icons! (You'll probably want to create your
own 8-color icons someday...)
A program that let's you change the screen colors on the Workbench
screen. (POPCOLORS is what I used)
Here is what is included in this arc file:
These instructions. (duh!)
A DISK icon [DISK.INF]
A RAMDISK icon [RAMDISK.INF]
A DRAWER icon [DRAWER.INF]
A TRASHCAN icon [TRASHCAN.INF]
A PROJECT icon [PROJECT.INF]
A CLI icon (a tool) [CLI.INF]
A TOOL icon [TOOL.INF] (it's an extra - use it with Prefs. or something)
An batch file which will rename the .info files from .inf to .info (arc
v.2.2 only allows 11 character filenames!) [EXECUTE.ME]
A basic program which will convert any icon of some type (ie: garbage,
tool, etc.) to any other type [CHNGICON.BAS]
A program that sets the color registers 4-7 [SETCOLOR]
A program that saves the current values in color registers 4-7 [SAVCOLOR]
A color palette data file [COLORS.DAT] for registers 4-7. This must be
renamed to COLOR.PALETTE to work with the SETCOLOR program.
Procedure
---------
First of all, get the names of those above icons changed by typing from a
CLI: EXECUTE EXECUTE.ME and if all goes well, the icons should have their
names changed to what need to be to show up on the workbench screen!
Next - MAKE SURE YOU HAVE A BACKUP OF KICKSTART! You really don't want to
chance messing up your only copy of it!
Okay, now down to the nitty gritty...Boot up your favorite disk sector
editor (a file editor won't work with kickstart) and go to sector 247
(decimal). The byte that first must be changed is at $6F, and the value that
SHOULD be there is a 02. If a 02 isn't there, look around for a 02 preceded
by four $FF's and a 00.
Now, change the value of 02 to 03 and you have just made workbench with 8
colors! However, there is a catch: Kickstart has a checksum value that is
checked whenever CTRL-Amiga-Amiga is pressed. If that checksum value doesn't
match the checksum of the KS disk, it will do a cold-start and ask for KS
again. So we must also fix the checksum...
Go to sector 512. At byte offset $1E8, you will find the checksum value.
This value consists of four bytes. Change the four bytes there to:
$56 $F2 $E2 $A5
Unless you have made previous changes to your kickstart disk, this should
fix it. To test it, reboot completely using the modified kickstart disk.
Insert a Workbench 1.2 disk when it asks for it. If the cursor is white
during the startup-sequence, chances are that you have an 8-color workbench.
You will be able to find out for sure if the icons in this arc file show up
with 8 colors. There is one more test that needs to be performed - the
checksum value test. Press CTRL-amiga-amiga. If the computer asks for
Workbench, then everything is okay. If it asks for kickstart, then you
either made a mistake entering the new checksum value or there are other
mods to your kickstart disk. The only thing I can tell you now is to get
ahold of a public domain program called SUMKICK, which will read the entire
kickstart disk and create the checksum value for you.
In any case, that's all there is to the actual modification. What follows
is an explanation of the three programs included with this arc file.
SETCOLOR
Now that your workbench screen has 8 colors, you'll want to be able to
set the extra colors. (Preferences only can set colors 0-3) This program
looks for a file called COLOR.PALETTE. COLOR.PALETTE contains the RGB values
for the extra color registers. SETCOLOR should be copied to the C:
directory of your WorkBench disk and then you should modify the
Startup-Sequence to include the command SETCOLOR. The program will look for
the file COLOR.PALETTE in the current directory. (The root directory if used
in a startup-sequence.) Note that this program can only be used if there is
ONE screen currently up. If you are running a graphics demo, paint program,
etc. which opens up a new screen, this program will set the colors for that
other screen! All other screens except the Workbench screen must be closed
for this program to work.
SAVCOLOR
You may not like the colors I chose for color registers 4-7. This program
reads the values currently in those registers and saves them to disk as the
file COLOR.PALETTE. Changing the values for those colors however can not be
done unless you have a program such as POPCOLORS which allows you to set the
color registers for a screen at any time. Also, if you have more than one
screen open at once, SAVCOLOR will save the colors from the other screen,
and not the Workbench screen! This has one advantage, as you can boot up
Dpaint II with WorkBench ON to create icons and it will grab
those colors from the Dpaint II screen! (No need then to figure out what
colors got used in the icons!)
CHNGICON.BAS
If you are making your own icons from IFF brushes, chances are that the
converter program does not allow you to convert to any type of icon.
ZAPICON, for instance, only creates TOOLS when converting. This program will
let you change from anything to anything.
First you will be asked for the name of the icon to change. Enter the
name (without .info added) of the icon you have just converted. Next you
will be asked for a data icon. This data icon serves as the "template" for
your custom icon. The image from your own icon is zapped onto this template
and the icon is saved under the name of your custom icon. (Not under the
name of the data icon!) So if you wanted to change a tool icon into a disk,
you would use a disk icon as the template.
A few caveats...
----------------
Okay, you would probably like to know if there is anything BAD about
making these changes - Well, there are a few things...
1) You can't have backfilled 3-bitplane icons. Don't ask me why this doesn't
work. Even if the backfill bit is set, the rectangular area around the icon
stays. Note that backfill still works if the icon is only two bitplanes.
(yes - you can have 2 bitplane icons on a three bitplane screen! Nice, eh?)
2) Some "strange" icons look funny. The icon for NEWZAP! gets some garbage
on the 3rd bitplane for some reason. The easiest way to fix this is to
create a new icon for it!
3) The CLI windows scroll a little slower. Use a font speedup program to fix
this problem.
4) Although all of your old 2-bitplane icons still work fine, (a very
flexible OS - nice) the "animated" 2-bitplane icons don't "blit" with the
mouse when you drag them around. 3-bitplane animated icons work just fine,
however.
That's it - aside from the fact that you can't use ICONED to create
3-bitplane icons. (Though you can still create the standard 2-plane icons
with no problems.) To my surprise, if you convert a 3-bitplane IFF brush
(using ZAPICON or BRUSH2ICON) it will be converted to a 3-bitplane icon!
Also, you can merge two 3-plane icons together with ICONMERGE and create an
animated 3-plane icon with no problems either!
Remember that SETCOLOR only sets the extra color registers - use
Preferences to set registers 0-3. The values that registers 0-3 SHOULD be
set to so my icons look proper are:
Register R G B
-----------------
00 00 00 00
01 15 15 15
02 00 00 12
03 12 00 00
For reference purposes, here are the values for 4-7 in the COLOR.PALETTE
file:
04 08 08 08
05 12 12 12
06 00 10 00
07 15 12 00
I suggest you try these out - the icons look real impressive with
those colors!
Conclusion:
-----------
With similar changes to this one, you could make the workbench screen
into anything you want. You could easily change the 03 to an 04 an have a
4-bitplane workbench screen! (Though the slowdown may be too great to live
with..) How about a HAM mode workbench screen with REAL digitized icons???
Hopefully, I'll have time to work on such projects.
Anyhow, enjoy the new WorkBench!
- DMP -